renderBuffer

fun renderBuffer(label: String, buffer: Buffer)

Helper function to render the current buffer screen with a visual border. This makes it easy to see the terminal bounds and cursor position.